import Vue from 'vue'
import App from './App.vue'
// 引入store
import store from './sotre'
Vue.config.productionTip = false

// new Vue({
//   render: h => h(App),
// }).$mount('#app')

new Vue({
  el: '#app',
  render: h => h(App),
  store,
  beforeCreate() {
    Vue.prototype.$bus = this//安装全局事件$bus
  }
})